package com.bj58.groupbuy.action.util;

import com.bj58.groupbuy.factory.BeanFactory;

public class ServiceLocator {

	/**
	 * 根据接口获得service对象
	 * @param <T>
	 * @param clazz service接口
	 * @return
	 */
	public static <T> T get(Class<T> clazz) {
		return BeanFactory.get(clazz);
	}
}
	
	